﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lephone.Data.Definition;

namespace SimlvClient.Model
{
    [DbContext("SqlServer2008")]
    public class StuPoetry : DbObjectModel<StuPoetry>
    {
        [AllowNull]
        [Length(500)]
        public string PoetryName { get; set; }
        [AllowNull]
        [Length(500)]
        public string Author { get; set; }
        public long? AuthorId { get; set; }
        [AllowNull]
        public string Note { get; set; }
        [AllowNull]
        public string Translation { get; set; }
        [AllowNull]
        public string Analyze { get; set; }
        [AllowNull]
        [Length(500)]
        public string CateId { get; set; }
        [AllowNull]
        [Length(500)]
        public string TypeId { get; set; }

        public string PContent { get; set; }
    }
}
